#include "GroupChangedEvent.h"

namespace Impp
{

DEFINE_EVENT_TYPE(EVT_GROUP_CHANGED) 

GroupChangedEvent::GroupChangedEvent(Group* group, GroupChangedEventType changeType, wxEventType eventType, int id) :
	wxNotifyEvent(eventType,id),
	group(group),
	changeType(changeType)
{
}

GroupChangedEvent::~GroupChangedEvent()
{
}

Group* GroupChangedEvent::getGroup(){
	return group;
}

GroupChangedEventType GroupChangedEvent::getChangeType(){
	return changeType;
}


wxEvent* GroupChangedEvent::Clone() const {
	return new GroupChangedEvent(*this);
}

}
